package neuroBot.bot.fulltilt;

import java.io.File;
import java.io.FileOutputStream;

public abstract class ErrorLog {

	public static void log(String log) {
		try {
			FileOutputStream fos = new FileOutputStream(
					new File("errorLog.txt"));
			fos.write(log.getBytes());
			fos.write(new String("\n").getBytes());
			fos.flush();
			fos.close();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
